package com.shop.cereshop.commons.domain.agentProduct;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 商品参数值表实体类
 */
@Data
@TableName("cere_product_param_value")
public class CereProductParamValue {

    @TableId(value = "value_id", type = IdType.AUTO)
    private Long valueId;

    @ApiModelProperty(value = "关联商品ID")
    private Long agentProductId;

    @ApiModelProperty(value = "关联参数键ID")
    private Long keyId;

    @ApiModelProperty(value = "参数值（如：鲜朗、烘焙全期全价猫粮）")
    private String value;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "逻辑删除 0-否 1-是")
    private Integer deleted;
}

